<!-- 主页面 -->
<script setup>
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app';
onLaunch(() => {
  console.log('onLaunch');
});
onShow(() => {
  console.log('onShow');
});
onHide(() => {
  console.log('onHide');
});
</script>

<template>
  <view class="">
    123
  </view>
</template>

<style lang="scss">
/* 引入uview-plus基础样式 */
@import "@/uni_modules/uview-plus/index.scss";
/*每个页面公共css */
</style>
